﻿<UserControl x:Class="KarateSemaphore.AboutBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:local="clr-namespace:KarateSemaphore"
        mc:Ignorable="d" 
        d:DataContext="{d:DesignInstance local:AssemblyBasedApplicationInfo, IsDesignTimeCreatable=True}"
        d:DesignHeight="300" d:DesignWidth="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Rectangle Grid.Row="0" Grid.ColumnSpan="2" DockPanel.Dock="Top" Height="70" Fill="Navy" />
        <TextBlock Grid.Row="0" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontFamily="Calibri" FontWeight="ExtraBlack" FontSize="24">Karate Semaphore</TextBlock>
        <Label Grid.Row="1" Grid.Column="0">Version:</Label>
        <Label Grid.Row="1" Grid.Column="1" Content="{Binding Version}" />
        <Label Grid.Row="2" Grid.Column="0">Latest version:</Label>
        <Label Grid.Row="2" Grid.Column="1" Content="{Binding LatestVersion}" />
        <Label Grid.Row="3" Grid.Column="0">Directory:</Label>
        <Label Grid.Row="3" Grid.Column="1" Content="{Binding Directory}" />
        <Label Grid.Row="4" Grid.Column="0">Author:</Label>
        <Label Grid.Row="4" Grid.Column="1" Content="Samo Prelog" />
    </Grid>
</UserControl>
